package com.woniuxy.woniuhis.service;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.woniuxy.woniuhis.entity.Cash;
import com.woniuxy.woniuhis.entity.PayIn;

/**
 * 医院资金service
 *
 */
public interface CashService {
	//CRUD
	void addCash(Cash cash);
	void delCashById(String cashId);
	void modifyCash(Cash cash);
	Cash findCashById(String cashId);
	List<Cash> findCash(Cash cash);
	
	//查询医院总资金
	BigDecimal findAllCash();
	//按照日期查询收入
	BigDecimal findCashByDate(PayIn payIn,Date beginDate,Date endDate);
}
